<section id="nav" class="transition6">
    <div class="container">
        <div class="row" id="navbar">
            
        </div>
    </div>
</section>
<script id="navs" type="text/html">
    <ul class="nav nav-pills nav-justified">
        <li>
            <a href="/">首页</a>
        </li>
        {{each menus as menu i}}
            <li data-aid="{{menu.id}}" data-pid="{{menu.parent_id}}">
            <a href="{{menu.url || 'javascript:;'}}" class="scroll {{current == menu.id ? 'nav_on': ''}}">{{menu.name}}</a>
                {{if menu.Children && menu.Children.length}}
                <div class="child_nav">
                    <ul>
                        <li class="all" data-aid="{{menu.id}}" data-pid="{{menu.parent_id}}"><a href="javascript:;">查看全部</a></li>
                        {{each menu.Children as submenu j}}
                            <li data-aid="{{submenu.id}}" data-pid="{{submenu.parent_id}}">
                                <a href="{{submenu.url || 'javascript:;'}}">{{submenu.name}}</a>
                            </li>
                        {{/each}}
                    </ul>
                </div>
                {{/if}}
            </li>
        {{/each}}
    </ul>
</script>
